name = "ada lovelace"
print(name.title())     #title()以首字母大写的方式显示每个单词

name = "Ada Lovelace"
print(name.upper())     #将字符串全部改为大写
print(name.lower())     #将字符串全部改为小写

#合并/拼接字符串
first_name = "ada"
last_name = "lovelace"
full_name = first_name + " " + last_name

print(full_name)

print("Hello, " + full_name.title() + "!")

message = "Hello, " + full_name.title() + "!"
print(message)
